package com.lqwu.mallchatserver.common.event;

import com.lqwu.mallchatserver.user.model.entry.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;


/**
 * 用户注册事件
 */
@Getter
public class UserRegisterEvent extends ApplicationEvent {
    /**
     * 用户信息
     */
    private User user;

    public UserRegisterEvent(Object source,User user) {
        super(source);
        this.user = user;
    }

}
